<%--
  Created by IntelliJ IDEA.
  User: zero
  Date: 2021/10/18
  Time: 16:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="static/themes/gray/easyui.css">
    <link rel="stylesheet" type="text/css" href="static/themes/icon.css">
    <script src="static/jquery.min.js"></script>
    <script src="static/jquery.easyui.min.js"></script>
</head>
<body>
    <table id="mytable"></table>
<script>
    $("#mytable").datagrid({
        url: "fen1.do",
        columns: [[
            {field: "id", title: "编号",width:100},
            {field: "name", title: "姓名",width:100},
            {field: "password", title: "密码",width:100},

            ]],
        fitColumns: true,
        singleSelect: true,
        pagination: true,
        pageList:[2,4,6,8],
        pageSize:2
    });
</script>
</body>
</html>
